const express = require('express')

const router = express.Router()

const {productRouter} = require('./product/index')
const {userRouter} = require('./user/index')
const {testRouter} = require('./test')

/**
 * 路由的二级路径
 */
router.use('/product',productRouter)
router.use('/user',userRouter)
router.use('/test',testRouter)


/**
 * 404一定要放在最后
 */



module.exports = router